package com.joysuch.wwyt.attendant.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.joysuch.wwyt.common.entity.UserDataEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 跟班区域
 *
 * @author xsx
 * @version 1.0
 * @date 2023/2/15 10:50
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_attendant_area")
public class AttendantArea extends UserDataEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "区域名称")
    private String name;
    @ApiModelProperty(value = "所属部门id")
    private Long deptId;
    @ApiModelProperty(value = "坐标集")
    private String coordinates;
    @ApiModelProperty(value = "是否同步开发平台 0未同步 1已同步")
    private Integer isSync;

    @ApiModelProperty(value = "开放平台区域id")
    private String platformAreaId;
}
